<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags/general" %>
<script type="text/javascript"> 
        function go()
        {
                window.navigate("http://localhost:8081/Bank/bank/ibank/pedit");  
        }
</script>	
<c:set var="basePath" value="${pageContext.servletContext.contextPath}"/>
<t:template>
     <div style="background-color:white; color:black;">
				<table>
					<tr >
						<td colspan="2"><h3 style="color: black;">Lietotāja informācija</h3></td>
					</tr>
					<tr>
						<td style="width: 100px"><label for="name"><p style="color: black;"><b>Vārds</b></p></label></td>
						<td ><p style="color: black;">${userInfo.name}</p></td>
					</tr>
					<tr>
						<td ><label for="surname"><p style="color: black;"><b>Surname</b></p></label></td>
						<td ><p style="color: black;">${userInfo.surname}</p></td>
					</tr>	
					<tr>
						<td ><label for="personCode"><p style="color: black;"><b>Person code</b></p></label></td>
						<td ><p style="color: black;">${userInfo.personCode}</p></td>
					</tr>	
						<tr>
						<td ><label for="email"><p style="color: black;"><b>E-mail</b></p></label></td>
						<td ><p style="color: black;">${userInfo.email}</p></td>
					</tr>																																																	
				</table>
		</div>
	
</t:template>